<!-- HTML header for doxygen 1.8.6-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta content="text/xhtml;charset=utf-8" http-equiv="Content-Type"/>
<meta content="IE=9" http-equiv="X-UA-Compatible"/>
<meta content="Doxygen 1.8.13" name="generator"/>
<title>OpenCV: cv::ShapeContextDistanceExtractor Class Reference</title>
<link href="../../opencv.ico" rel="shortcut icon" type="image/x-icon"/>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script src="../../jquery.js" type="text/javascript"></script>
<script src="../../dynsections.js" type="text/javascript"></script>
<script src="../../tutorial-utils.js" type="text/javascript"></script>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script src="../../search/searchdata.js" type="text/javascript"></script>
<script src="../../search/search.js" type="text/javascript"></script>
<script type="text/x-mathjax-config">
  MathJax.Hub.Config({
    extensions: ["tex2jax.js", "TeX/AMSmath.js", "TeX/AMSsymbols.js"],
    jax: ["input/TeX","output/HTML-CSS"],
});
//<![CDATA[
MathJax.Hub.Config(
{
  TeX: {
      Macros: {
          matTT: [ "\\[ \\left|\\begin{array}{ccc} #1 & #2 & #3\\\\ #4 & #5 & #6\\\\ #7 & #8 & #9 \\end{array}\\right| \\]", 9],
          fork: ["\\left\\{ \\begin{array}{l l} #1 & \\mbox{#2}\\\\ #3 & \\mbox{#4}\\\\ \\end{array} \\right.", 4],
          forkthree: ["\\left\\{ \\begin{array}{l l} #1 & \\mbox{#2}\\\\ #3 & \\mbox{#4}\\\\ #5 & \\mbox{#6}\\\\ \\end{array} \\right.", 6],
          forkfour: ["\\left\\{ \\begin{array}{l l} #1 & \\mbox{#2}\\\\ #3 & \\mbox{#4}\\\\ #5 & \\mbox{#6}\\\\ #7 & \\mbox{#8}\\\\ \\end{array} \\right.", 8],
          vecthree: ["\\begin{bmatrix} #1\\\\ #2\\\\ #3 \\end{bmatrix}", 3],
          vecthreethree: ["\\begin{bmatrix} #1 & #2 & #3\\\\ #4 & #5 & #6\\\\ #7 & #8 & #9 \\end{bmatrix}", 9],
          cameramatrix: ["#1 = \\begin{bmatrix} f_x & 0 & c_x\\\\ 0 & f_y & c_y\\\\ 0 & 0 & 1 \\end{bmatrix}", 1],
          distcoeffs: ["(k_1, k_2, p_1, p_2[, k_3[, k_4, k_5, k_6 [, s_1, s_2, s_3, s_4[, \\tau_x, \\tau_y]]]]) \\text{ of 4, 5, 8, 12 or 14 elements}"],
          distcoeffsfisheye: ["(k_1, k_2, k_3, k_4)"],
          hdotsfor: ["\\dots", 1],
          mathbbm: ["\\mathbb{#1}", 1],
          bordermatrix: ["\\matrix{#1}", 1]
      }
  }
}
);
//]]>
</script><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js" type="text/javascript"></script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css"/>
<link href="../../stylesheet.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<!--#include virtual="/google-search.html"-->
<table cellpadding="0" cellspacing="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="../../opencv-logo-small.png"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">OpenCV
    <span id="projectnumber">4.5.2</span>
   </div>
   <div id="projectbrief">Open Source Computer Vision</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
</script>
<script src="../../menudata.js" type="text/javascript"></script>
<script src="../../menu.js" type="text/javascript"></script>
<script type="text/javascript">
$(function() {
  initMenu('../../',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow" onkeydown="return searchBox.OnSearchSelectKey(event)" onmouseout="return searchBox.OnSearchSelectHide()" onmouseover="return searchBox.OnSearchSelectShow()">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe frameborder="0" id="MSearchResults" name="MSearchResults" src="javascript:void(0)">
</iframe>
</div>
<div class="navpath" id="nav-path">
  <ul>
<li class="navelem"><a class="el" href="../../d2/d75/namespacecv.html">cv</a></li><li class="navelem"><a class="el" href="../../d8/de3/classcv_1_1ShapeContextDistanceExtractor.html">ShapeContextDistanceExtractor</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> |
<a href="../../de/d2c/classcv_1_1ShapeContextDistanceExtractor-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">cv::ShapeContextDistanceExtractor Class Reference<span class="mlabels"><span class="mlabel">abstract</span></span><div class="ingroups"><a class="el" href="../../d1/d85/group__shape.html">Shape Distance and Matching</a></div></div>  </div>
</div><!--header-->
<div class="contents">
<p>Implementation of the Shape Context descriptor and matching algorithm.  
 <a href="../../d8/de3/classcv_1_1ShapeContextDistanceExtractor.html#details">More...</a></p>
<p><code>#include &lt;opencv2/shape/shape_distance.hpp&gt;</code></p>
<div class="dynheader">
Inheritance diagram for cv::ShapeContextDistanceExtractor:</div>
<div class="dyncontent">
 <div class="center">
  <img alt="" src="../../d8/de3/classcv_1_1ShapeContextDistanceExtractor.png" usemap="#cv::ShapeContextDistanceExtractor_map"/>
  <map id="cv::ShapeContextDistanceExtractor_map" name="cv::ShapeContextDistanceExtractor_map">
<area alt="cv::ShapeDistanceExtractor" coords="0,56,210,80" href="../../dc/dbf/classcv_1_1ShapeDistanceExtractor.html" shape="rect" title="Abstract base class for shape distance algorithms. "/>
<area alt="cv::Algorithm" coords="0,0,210,24" href="../../d3/d46/classcv_1_1Algorithm.html" shape="rect" title="This is a base class for all more or less complex algorithms in OpenCV. "/>
</map>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a716ee70d5bcc92be5e21b0218f0c7c42"><td align="right" class="memItemLeft" valign="top">virtual int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/de3/classcv_1_1ShapeContextDistanceExtractor.html#a716ee70d5bcc92be5e21b0218f0c7c42">getAngularBins</a> () const =0</td></tr>
<tr class="separator:a716ee70d5bcc92be5e21b0218f0c7c42"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:af48249ecb97ebe2e3dd77e0f577a6040"><td align="right" class="memItemLeft" valign="top">virtual float </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/de3/classcv_1_1ShapeContextDistanceExtractor.html#af48249ecb97ebe2e3dd77e0f577a6040">getBendingEnergyWeight</a> () const =0</td></tr>
<tr class="separator:af48249ecb97ebe2e3dd77e0f577a6040"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a1a4f1383815ef2fb104219b8e7ce5a59"><td align="right" class="memItemLeft" valign="top">virtual <a class="el" href="../../dc/d84/group__core__basic.html#ga6395ca871a678020c4a31fadf7e8cc63">Ptr</a>&lt; <a class="el" href="../../df/d9a/classcv_1_1HistogramCostExtractor.html">HistogramCostExtractor</a> &gt; </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/de3/classcv_1_1ShapeContextDistanceExtractor.html#a1a4f1383815ef2fb104219b8e7ce5a59">getCostExtractor</a> () const =0</td></tr>
<tr class="separator:a1a4f1383815ef2fb104219b8e7ce5a59"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a0b53897717df4a5bbf1c771db3570cc2"><td align="right" class="memItemLeft" valign="top">virtual float </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/de3/classcv_1_1ShapeContextDistanceExtractor.html#a0b53897717df4a5bbf1c771db3570cc2">getImageAppearanceWeight</a> () const =0</td></tr>
<tr class="separator:a0b53897717df4a5bbf1c771db3570cc2"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a604802b751a0ea9f04dbb6c46f55481d"><td align="right" class="memItemLeft" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/de3/classcv_1_1ShapeContextDistanceExtractor.html#a604802b751a0ea9f04dbb6c46f55481d">getImages</a> (<a class="el" href="../../dc/d84/group__core__basic.html#gaad17fda1d0f0d1ee069aebb1df2913c0">OutputArray</a> image1, <a class="el" href="../../dc/d84/group__core__basic.html#gaad17fda1d0f0d1ee069aebb1df2913c0">OutputArray</a> image2) const =0</td></tr>
<tr class="separator:a604802b751a0ea9f04dbb6c46f55481d"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a7457e5058381462b1097dae4ce95bd90"><td align="right" class="memItemLeft" valign="top">virtual float </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/de3/classcv_1_1ShapeContextDistanceExtractor.html#a7457e5058381462b1097dae4ce95bd90">getInnerRadius</a> () const =0</td></tr>
<tr class="separator:a7457e5058381462b1097dae4ce95bd90"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a919bc6fc762642c79dbc986f6232737c"><td align="right" class="memItemLeft" valign="top">virtual int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/de3/classcv_1_1ShapeContextDistanceExtractor.html#a919bc6fc762642c79dbc986f6232737c">getIterations</a> () const =0</td></tr>
<tr class="separator:a919bc6fc762642c79dbc986f6232737c"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a93c84275daf08dd91218c51d5f31bdad"><td align="right" class="memItemLeft" valign="top">virtual float </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/de3/classcv_1_1ShapeContextDistanceExtractor.html#a93c84275daf08dd91218c51d5f31bdad">getOuterRadius</a> () const =0</td></tr>
<tr class="separator:a93c84275daf08dd91218c51d5f31bdad"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a31759a28f3cefba1693babf4a2faa81b"><td align="right" class="memItemLeft" valign="top">virtual int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/de3/classcv_1_1ShapeContextDistanceExtractor.html#a31759a28f3cefba1693babf4a2faa81b">getRadialBins</a> () const =0</td></tr>
<tr class="separator:a31759a28f3cefba1693babf4a2faa81b"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a9061cf4f352f79d934dfc12a03ae4fcb"><td align="right" class="memItemLeft" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/de3/classcv_1_1ShapeContextDistanceExtractor.html#a9061cf4f352f79d934dfc12a03ae4fcb">getRotationInvariant</a> () const =0</td></tr>
<tr class="separator:a9061cf4f352f79d934dfc12a03ae4fcb"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a6115ab5821dfc92847271970e1363eaf"><td align="right" class="memItemLeft" valign="top">virtual float </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/de3/classcv_1_1ShapeContextDistanceExtractor.html#a6115ab5821dfc92847271970e1363eaf">getShapeContextWeight</a> () const =0</td></tr>
<tr class="separator:a6115ab5821dfc92847271970e1363eaf"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a0eb22f5b183f3e65ae2f6ea41d8be27f"><td align="right" class="memItemLeft" valign="top">virtual float </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/de3/classcv_1_1ShapeContextDistanceExtractor.html#a0eb22f5b183f3e65ae2f6ea41d8be27f">getStdDev</a> () const =0</td></tr>
<tr class="separator:a0eb22f5b183f3e65ae2f6ea41d8be27f"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:acd7c1e20479823593e7bdfa70fb8cab0"><td align="right" class="memItemLeft" valign="top">virtual <a class="el" href="../../dc/d84/group__core__basic.html#ga6395ca871a678020c4a31fadf7e8cc63">Ptr</a>&lt; <a class="el" href="../../df/dfe/classcv_1_1ShapeTransformer.html">ShapeTransformer</a> &gt; </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/de3/classcv_1_1ShapeContextDistanceExtractor.html#acd7c1e20479823593e7bdfa70fb8cab0">getTransformAlgorithm</a> () const =0</td></tr>
<tr class="separator:acd7c1e20479823593e7bdfa70fb8cab0"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aade984ec5eca56b0a7f5b8681d681c61"><td align="right" class="memItemLeft" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/de3/classcv_1_1ShapeContextDistanceExtractor.html#aade984ec5eca56b0a7f5b8681d681c61">setAngularBins</a> (int nAngularBins)=0</td></tr>
<tr class="memdesc:aade984ec5eca56b0a7f5b8681d681c61"><td class="mdescLeft"> </td><td class="mdescRight">Establish the number of angular bins for the Shape Context Descriptor used in the shape matching pipeline.  <a href="#aade984ec5eca56b0a7f5b8681d681c61">More...</a><br/></td></tr>
<tr class="separator:aade984ec5eca56b0a7f5b8681d681c61"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a576d05fc6eedd2353d5e03257d807808"><td align="right" class="memItemLeft" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/de3/classcv_1_1ShapeContextDistanceExtractor.html#a576d05fc6eedd2353d5e03257d807808">setBendingEnergyWeight</a> (float bendingEnergyWeight)=0</td></tr>
<tr class="memdesc:a576d05fc6eedd2353d5e03257d807808"><td class="mdescLeft"> </td><td class="mdescRight">Set the weight of the Bending Energy in the final value of the shape distance. The bending energy definition depends on what transformation is being used to align the shapes. The final value of the shape distance is a user-defined linear combination of the shape context distance, an image appearance distance, and a bending energy.  <a href="#a576d05fc6eedd2353d5e03257d807808">More...</a><br/></td></tr>
<tr class="separator:a576d05fc6eedd2353d5e03257d807808"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a1d3a0258c206f4be2d3c518f1087f425"><td align="right" class="memItemLeft" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/de3/classcv_1_1ShapeContextDistanceExtractor.html#a1d3a0258c206f4be2d3c518f1087f425">setCostExtractor</a> (<a class="el" href="../../dc/d84/group__core__basic.html#ga6395ca871a678020c4a31fadf7e8cc63">Ptr</a>&lt; <a class="el" href="../../df/d9a/classcv_1_1HistogramCostExtractor.html">HistogramCostExtractor</a> &gt; comparer)=0</td></tr>
<tr class="memdesc:a1d3a0258c206f4be2d3c518f1087f425"><td class="mdescLeft"> </td><td class="mdescRight">Set the algorithm used for building the shape context descriptor cost matrix.  <a href="#a1d3a0258c206f4be2d3c518f1087f425">More...</a><br/></td></tr>
<tr class="separator:a1d3a0258c206f4be2d3c518f1087f425"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a92798b785faa75fb7e41c2cee8ac19db"><td align="right" class="memItemLeft" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/de3/classcv_1_1ShapeContextDistanceExtractor.html#a92798b785faa75fb7e41c2cee8ac19db">setImageAppearanceWeight</a> (float imageAppearanceWeight)=0</td></tr>
<tr class="memdesc:a92798b785faa75fb7e41c2cee8ac19db"><td class="mdescLeft"> </td><td class="mdescRight">Set the weight of the Image Appearance cost in the final value of the shape distance. The image appearance cost is defined as the sum of squared brightness differences in Gaussian windows around corresponding image points. The final value of the shape distance is a user-defined linear combination of the shape context distance, an image appearance distance, and a bending energy. If this value is set to a number different from 0, is mandatory to set the images that correspond to each shape.  <a href="#a92798b785faa75fb7e41c2cee8ac19db">More...</a><br/></td></tr>
<tr class="separator:a92798b785faa75fb7e41c2cee8ac19db"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:abf94ec647328dcdf648157933f6f32b1"><td align="right" class="memItemLeft" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/de3/classcv_1_1ShapeContextDistanceExtractor.html#abf94ec647328dcdf648157933f6f32b1">setImages</a> (<a class="el" href="../../dc/d84/group__core__basic.html#ga353a9de602fe76c709e12074a6f362ba">InputArray</a> image1, <a class="el" href="../../dc/d84/group__core__basic.html#ga353a9de602fe76c709e12074a6f362ba">InputArray</a> image2)=0</td></tr>
<tr class="memdesc:abf94ec647328dcdf648157933f6f32b1"><td class="mdescLeft"> </td><td class="mdescRight">Set the images that correspond to each shape. This images are used in the calculation of the Image Appearance cost.  <a href="#abf94ec647328dcdf648157933f6f32b1">More...</a><br/></td></tr>
<tr class="separator:abf94ec647328dcdf648157933f6f32b1"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a1b9f6425a00d927f87ba77fb14b240bd"><td align="right" class="memItemLeft" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/de3/classcv_1_1ShapeContextDistanceExtractor.html#a1b9f6425a00d927f87ba77fb14b240bd">setInnerRadius</a> (float innerRadius)=0</td></tr>
<tr class="memdesc:a1b9f6425a00d927f87ba77fb14b240bd"><td class="mdescLeft"> </td><td class="mdescRight">Set the inner radius of the shape context descriptor.  <a href="#a1b9f6425a00d927f87ba77fb14b240bd">More...</a><br/></td></tr>
<tr class="separator:a1b9f6425a00d927f87ba77fb14b240bd"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ac90e93665a0d5d27a69dfef3f47b4255"><td align="right" class="memItemLeft" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/de3/classcv_1_1ShapeContextDistanceExtractor.html#ac90e93665a0d5d27a69dfef3f47b4255">setIterations</a> (int iterations)=0</td></tr>
<tr class="separator:ac90e93665a0d5d27a69dfef3f47b4255"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:abe0a9db459ed820ceb884cdb95712c12"><td align="right" class="memItemLeft" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/de3/classcv_1_1ShapeContextDistanceExtractor.html#abe0a9db459ed820ceb884cdb95712c12">setOuterRadius</a> (float outerRadius)=0</td></tr>
<tr class="memdesc:abe0a9db459ed820ceb884cdb95712c12"><td class="mdescLeft"> </td><td class="mdescRight">Set the outer radius of the shape context descriptor.  <a href="#abe0a9db459ed820ceb884cdb95712c12">More...</a><br/></td></tr>
<tr class="separator:abe0a9db459ed820ceb884cdb95712c12"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a601bedc2ff38e281f6bcc34d7d59c0fa"><td align="right" class="memItemLeft" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/de3/classcv_1_1ShapeContextDistanceExtractor.html#a601bedc2ff38e281f6bcc34d7d59c0fa">setRadialBins</a> (int nRadialBins)=0</td></tr>
<tr class="memdesc:a601bedc2ff38e281f6bcc34d7d59c0fa"><td class="mdescLeft"> </td><td class="mdescRight">Establish the number of radial bins for the Shape Context Descriptor used in the shape matching pipeline.  <a href="#a601bedc2ff38e281f6bcc34d7d59c0fa">More...</a><br/></td></tr>
<tr class="separator:a601bedc2ff38e281f6bcc34d7d59c0fa"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aac3054da68894dbbac9ed6801eb50d32"><td align="right" class="memItemLeft" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/de3/classcv_1_1ShapeContextDistanceExtractor.html#aac3054da68894dbbac9ed6801eb50d32">setRotationInvariant</a> (bool rotationInvariant)=0</td></tr>
<tr class="separator:aac3054da68894dbbac9ed6801eb50d32"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ac9ea3a1ce4a9e8767acef0a48a7cf8d6"><td align="right" class="memItemLeft" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/de3/classcv_1_1ShapeContextDistanceExtractor.html#ac9ea3a1ce4a9e8767acef0a48a7cf8d6">setShapeContextWeight</a> (float shapeContextWeight)=0</td></tr>
<tr class="memdesc:ac9ea3a1ce4a9e8767acef0a48a7cf8d6"><td class="mdescLeft"> </td><td class="mdescRight">Set the weight of the shape context distance in the final value of the shape distance. The shape context distance between two shapes is defined as the symmetric sum of shape context matching costs over best matching points. The final value of the shape distance is a user-defined linear combination of the shape context distance, an image appearance distance, and a bending energy.  <a href="#ac9ea3a1ce4a9e8767acef0a48a7cf8d6">More...</a><br/></td></tr>
<tr class="separator:ac9ea3a1ce4a9e8767acef0a48a7cf8d6"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a655e0cfadf3ca8e2acac038132841183"><td align="right" class="memItemLeft" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/de3/classcv_1_1ShapeContextDistanceExtractor.html#a655e0cfadf3ca8e2acac038132841183">setStdDev</a> (float sigma)=0</td></tr>
<tr class="memdesc:a655e0cfadf3ca8e2acac038132841183"><td class="mdescLeft"> </td><td class="mdescRight">Set the value of the standard deviation for the Gaussian window for the image appearance cost.  <a href="#a655e0cfadf3ca8e2acac038132841183">More...</a><br/></td></tr>
<tr class="separator:a655e0cfadf3ca8e2acac038132841183"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a537e77faeb22ad21db4c3a45084019ef"><td align="right" class="memItemLeft" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/de3/classcv_1_1ShapeContextDistanceExtractor.html#a537e77faeb22ad21db4c3a45084019ef">setTransformAlgorithm</a> (<a class="el" href="../../dc/d84/group__core__basic.html#ga6395ca871a678020c4a31fadf7e8cc63">Ptr</a>&lt; <a class="el" href="../../df/dfe/classcv_1_1ShapeTransformer.html">ShapeTransformer</a> &gt; transformer)=0</td></tr>
<tr class="memdesc:a537e77faeb22ad21db4c3a45084019ef"><td class="mdescLeft"> </td><td class="mdescRight">Set the algorithm used for aligning the shapes.  <a href="#a537e77faeb22ad21db4c3a45084019ef">More...</a><br/></td></tr>
<tr class="separator:a537e77faeb22ad21db4c3a45084019ef"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="inherit_header pub_methods_classcv_1_1ShapeDistanceExtractor"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classcv_1_1ShapeDistanceExtractor')"><img alt="-" src="../../closed.png"/> Public Member Functions inherited from <a class="el" href="../../dc/dbf/classcv_1_1ShapeDistanceExtractor.html">cv::ShapeDistanceExtractor</a></td></tr>
<tr class="memitem:aba29b7775eca6bd6c4b4f5e300094097 inherit pub_methods_classcv_1_1ShapeDistanceExtractor"><td align="right" class="memItemLeft" valign="top">virtual float </td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/dbf/classcv_1_1ShapeDistanceExtractor.html#aba29b7775eca6bd6c4b4f5e300094097">computeDistance</a> (<a class="el" href="../../dc/d84/group__core__basic.html#ga353a9de602fe76c709e12074a6f362ba">InputArray</a> contour1, <a class="el" href="../../dc/d84/group__core__basic.html#ga353a9de602fe76c709e12074a6f362ba">InputArray</a> contour2)=0</td></tr>
<tr class="memdesc:aba29b7775eca6bd6c4b4f5e300094097 inherit pub_methods_classcv_1_1ShapeDistanceExtractor"><td class="mdescLeft"> </td><td class="mdescRight">Compute the shape distance between two shapes defined by its contours.  <a href="../../dc/dbf/classcv_1_1ShapeDistanceExtractor.html#aba29b7775eca6bd6c4b4f5e300094097">More...</a><br/></td></tr>
<tr class="separator:aba29b7775eca6bd6c4b4f5e300094097 inherit pub_methods_classcv_1_1ShapeDistanceExtractor"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="inherit_header pub_methods_classcv_1_1Algorithm"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classcv_1_1Algorithm')"><img alt="-" src="../../closed.png"/> Public Member Functions inherited from <a class="el" href="../../d3/d46/classcv_1_1Algorithm.html">cv::Algorithm</a></td></tr>
<tr class="memitem:a827c8b2781ed17574805f373e6054ff1 inherit pub_methods_classcv_1_1Algorithm"><td align="right" class="memItemLeft" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/d46/classcv_1_1Algorithm.html#a827c8b2781ed17574805f373e6054ff1">Algorithm</a> ()</td></tr>
<tr class="separator:a827c8b2781ed17574805f373e6054ff1 inherit pub_methods_classcv_1_1Algorithm"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a8ae826127fa0f1f8d10a24841bd376f8 inherit pub_methods_classcv_1_1Algorithm"><td align="right" class="memItemLeft" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/d46/classcv_1_1Algorithm.html#a8ae826127fa0f1f8d10a24841bd376f8">~Algorithm</a> ()</td></tr>
<tr class="separator:a8ae826127fa0f1f8d10a24841bd376f8 inherit pub_methods_classcv_1_1Algorithm"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aec9c965448e4dc851d7cacd3abd84cd1 inherit pub_methods_classcv_1_1Algorithm"><td align="right" class="memItemLeft" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/d46/classcv_1_1Algorithm.html#aec9c965448e4dc851d7cacd3abd84cd1">clear</a> ()</td></tr>
<tr class="memdesc:aec9c965448e4dc851d7cacd3abd84cd1 inherit pub_methods_classcv_1_1Algorithm"><td class="mdescLeft"> </td><td class="mdescRight">Clears the algorithm state.  <a href="../../d3/d46/classcv_1_1Algorithm.html#aec9c965448e4dc851d7cacd3abd84cd1">More...</a><br/></td></tr>
<tr class="separator:aec9c965448e4dc851d7cacd3abd84cd1 inherit pub_methods_classcv_1_1Algorithm"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ab6a18f1825475643e94381697d413972 inherit pub_methods_classcv_1_1Algorithm"><td align="right" class="memItemLeft" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/d46/classcv_1_1Algorithm.html#ab6a18f1825475643e94381697d413972">empty</a> () const</td></tr>
<tr class="memdesc:ab6a18f1825475643e94381697d413972 inherit pub_methods_classcv_1_1Algorithm"><td class="mdescLeft"> </td><td class="mdescRight">Returns true if the <a class="el" href="../../d3/d46/classcv_1_1Algorithm.html" title="This is a base class for all more or less complex algorithms in OpenCV. ">Algorithm</a> is empty (e.g. in the very beginning or after unsuccessful read.  <a href="../../d3/d46/classcv_1_1Algorithm.html#ab6a18f1825475643e94381697d413972">More...</a><br/></td></tr>
<tr class="separator:ab6a18f1825475643e94381697d413972 inherit pub_methods_classcv_1_1Algorithm"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a286fc82744ccab3d248aca44524266a9 inherit pub_methods_classcv_1_1Algorithm"><td align="right" class="memItemLeft" valign="top">virtual <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/d46/classcv_1_1Algorithm.html#a286fc82744ccab3d248aca44524266a9">getDefaultName</a> () const</td></tr>
<tr class="separator:a286fc82744ccab3d248aca44524266a9 inherit pub_methods_classcv_1_1Algorithm"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aef2ad3f4145bd6e8c3664eb1c4b5e1e6 inherit pub_methods_classcv_1_1Algorithm"><td align="right" class="memItemLeft" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/d46/classcv_1_1Algorithm.html#aef2ad3f4145bd6e8c3664eb1c4b5e1e6">read</a> (const <a class="el" href="../../de/dd9/classcv_1_1FileNode.html">FileNode</a> &amp;fn)</td></tr>
<tr class="memdesc:aef2ad3f4145bd6e8c3664eb1c4b5e1e6 inherit pub_methods_classcv_1_1Algorithm"><td class="mdescLeft"> </td><td class="mdescRight">Reads algorithm parameters from a file storage.  <a href="../../d3/d46/classcv_1_1Algorithm.html#aef2ad3f4145bd6e8c3664eb1c4b5e1e6">More...</a><br/></td></tr>
<tr class="separator:aef2ad3f4145bd6e8c3664eb1c4b5e1e6 inherit pub_methods_classcv_1_1Algorithm"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a0a880744bc4e3f45711444571df47d67 inherit pub_methods_classcv_1_1Algorithm"><td align="right" class="memItemLeft" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/d46/classcv_1_1Algorithm.html#a0a880744bc4e3f45711444571df47d67">save</a> (const <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> &amp;filename) const</td></tr>
<tr class="separator:a0a880744bc4e3f45711444571df47d67 inherit pub_methods_classcv_1_1Algorithm"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a1f8ad7b8add515077367fb9949a174d2 inherit pub_methods_classcv_1_1Algorithm"><td align="right" class="memItemLeft" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/d46/classcv_1_1Algorithm.html#a1f8ad7b8add515077367fb9949a174d2">write</a> (<a class="el" href="../../da/d56/classcv_1_1FileStorage.html">FileStorage</a> &amp;fs) const</td></tr>
<tr class="memdesc:a1f8ad7b8add515077367fb9949a174d2 inherit pub_methods_classcv_1_1Algorithm"><td class="mdescLeft"> </td><td class="mdescRight">Stores algorithm parameters in a file storage.  <a href="../../d3/d46/classcv_1_1Algorithm.html#a1f8ad7b8add515077367fb9949a174d2">More...</a><br/></td></tr>
<tr class="separator:a1f8ad7b8add515077367fb9949a174d2 inherit pub_methods_classcv_1_1Algorithm"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a763a62d1b03042eef7d7fc3ac6c87c79 inherit pub_methods_classcv_1_1Algorithm"><td align="right" class="memItemLeft" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/d46/classcv_1_1Algorithm.html#a763a62d1b03042eef7d7fc3ac6c87c79">write</a> (const <a class="el" href="../../dc/d84/group__core__basic.html#ga6395ca871a678020c4a31fadf7e8cc63">Ptr</a>&lt; <a class="el" href="../../da/d56/classcv_1_1FileStorage.html">FileStorage</a> &gt; &amp;fs, const <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> &amp;name=<a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a>()) const</td></tr>
<tr class="memdesc:a763a62d1b03042eef7d7fc3ac6c87c79 inherit pub_methods_classcv_1_1Algorithm"><td class="mdescLeft"> </td><td class="mdescRight">simplified API for language bindings This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.  <a href="../../d3/d46/classcv_1_1Algorithm.html#a763a62d1b03042eef7d7fc3ac6c87c79">More...</a><br/></td></tr>
<tr class="separator:a763a62d1b03042eef7d7fc3ac6c87c79 inherit pub_methods_classcv_1_1Algorithm"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
Additional Inherited Members</h2></td></tr>
<tr class="inherit_header pub_static_methods_classcv_1_1Algorithm"><td colspan="2" onclick="javascript:toggleInherit('pub_static_methods_classcv_1_1Algorithm')"><img alt="-" src="../../closed.png"/> Static Public Member Functions inherited from <a class="el" href="../../d3/d46/classcv_1_1Algorithm.html">cv::Algorithm</a></td></tr>
<tr class="memitem:a623841c33b58ea9c4847da04607e067b inherit pub_static_methods_classcv_1_1Algorithm"><td class="memTemplParams" colspan="2">template&lt;typename _Tp &gt; </td></tr>
<tr class="memitem:a623841c33b58ea9c4847da04607e067b inherit pub_static_methods_classcv_1_1Algorithm"><td align="right" class="memTemplItemLeft" valign="top">static <a class="el" href="../../dc/d84/group__core__basic.html#ga6395ca871a678020c4a31fadf7e8cc63">Ptr</a>&lt; _Tp &gt; </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="../../d3/d46/classcv_1_1Algorithm.html#a623841c33b58ea9c4847da04607e067b">load</a> (const <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> &amp;filename, const <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> &amp;objname=<a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a>())</td></tr>
<tr class="memdesc:a623841c33b58ea9c4847da04607e067b inherit pub_static_methods_classcv_1_1Algorithm"><td class="mdescLeft"> </td><td class="mdescRight">Loads algorithm from the file.  <a href="../../d3/d46/classcv_1_1Algorithm.html#a623841c33b58ea9c4847da04607e067b">More...</a><br/></td></tr>
<tr class="separator:a623841c33b58ea9c4847da04607e067b inherit pub_static_methods_classcv_1_1Algorithm"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a3ba305a10d02479c13cf7d169c321547 inherit pub_static_methods_classcv_1_1Algorithm"><td class="memTemplParams" colspan="2">template&lt;typename _Tp &gt; </td></tr>
<tr class="memitem:a3ba305a10d02479c13cf7d169c321547 inherit pub_static_methods_classcv_1_1Algorithm"><td align="right" class="memTemplItemLeft" valign="top">static <a class="el" href="../../dc/d84/group__core__basic.html#ga6395ca871a678020c4a31fadf7e8cc63">Ptr</a>&lt; _Tp &gt; </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="../../d3/d46/classcv_1_1Algorithm.html#a3ba305a10d02479c13cf7d169c321547">loadFromString</a> (const <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> &amp;strModel, const <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> &amp;objname=<a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a>())</td></tr>
<tr class="memdesc:a3ba305a10d02479c13cf7d169c321547 inherit pub_static_methods_classcv_1_1Algorithm"><td class="mdescLeft"> </td><td class="mdescRight">Loads algorithm from a String.  <a href="../../d3/d46/classcv_1_1Algorithm.html#a3ba305a10d02479c13cf7d169c321547">More...</a><br/></td></tr>
<tr class="separator:a3ba305a10d02479c13cf7d169c321547 inherit pub_static_methods_classcv_1_1Algorithm"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ad8c591bacb34c485f5b7a250c314fc53 inherit pub_static_methods_classcv_1_1Algorithm"><td class="memTemplParams" colspan="2">template&lt;typename _Tp &gt; </td></tr>
<tr class="memitem:ad8c591bacb34c485f5b7a250c314fc53 inherit pub_static_methods_classcv_1_1Algorithm"><td align="right" class="memTemplItemLeft" valign="top">static <a class="el" href="../../dc/d84/group__core__basic.html#ga6395ca871a678020c4a31fadf7e8cc63">Ptr</a>&lt; _Tp &gt; </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="../../d3/d46/classcv_1_1Algorithm.html#ad8c591bacb34c485f5b7a250c314fc53">read</a> (const <a class="el" href="../../de/dd9/classcv_1_1FileNode.html">FileNode</a> &amp;fn)</td></tr>
<tr class="memdesc:ad8c591bacb34c485f5b7a250c314fc53 inherit pub_static_methods_classcv_1_1Algorithm"><td class="mdescLeft"> </td><td class="mdescRight">Reads algorithm from the file node.  <a href="../../d3/d46/classcv_1_1Algorithm.html#ad8c591bacb34c485f5b7a250c314fc53">More...</a><br/></td></tr>
<tr class="separator:ad8c591bacb34c485f5b7a250c314fc53 inherit pub_static_methods_classcv_1_1Algorithm"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="inherit_header pro_methods_classcv_1_1Algorithm"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classcv_1_1Algorithm')"><img alt="-" src="../../closed.png"/> Protected Member Functions inherited from <a class="el" href="../../d3/d46/classcv_1_1Algorithm.html">cv::Algorithm</a></td></tr>
<tr class="memitem:a68eeca71617474ad3d4561786f0289d2 inherit pro_methods_classcv_1_1Algorithm"><td align="right" class="memItemLeft" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/d46/classcv_1_1Algorithm.html#a68eeca71617474ad3d4561786f0289d2">writeFormat</a> (<a class="el" href="../../da/d56/classcv_1_1FileStorage.html">FileStorage</a> &amp;fs) const</td></tr>
<tr class="separator:a68eeca71617474ad3d4561786f0289d2 inherit pro_methods_classcv_1_1Algorithm"><td class="memSeparator" colspan="2"> </td></tr>
</table>
<a id="details" name="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Implementation of the Shape Context descriptor and matching algorithm. </p>
<p>proposed by Belongie et al. in "Shape Matching and Object Recognition Using Shape Contexts" (PAMI 2002). This implementation is packaged in a generic scheme, in order to allow you the implementation of the common variations of the original pipeline. </p>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a id="a716ee70d5bcc92be5e21b0218f0c7c42"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a716ee70d5bcc92be5e21b0218f0c7c42">◆ </a></span>getAngularBins()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual int cv::ShapeContextDistanceExtractor::getAngularBins </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>retval</td><td>=</td><td>cv.ShapeContextDistanceExtractor.getAngularBins(</td><td class="paramname"></td><td>)</td></tr></table>
</div><div class="memdoc">
</div>
</div>
<a id="af48249ecb97ebe2e3dd77e0f577a6040"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af48249ecb97ebe2e3dd77e0f577a6040">◆ </a></span>getBendingEnergyWeight()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual float cv::ShapeContextDistanceExtractor::getBendingEnergyWeight </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>retval</td><td>=</td><td>cv.ShapeContextDistanceExtractor.getBendingEnergyWeight(</td><td class="paramname"></td><td>)</td></tr></table>
</div><div class="memdoc">
</div>
</div>
<a id="a1a4f1383815ef2fb104219b8e7ce5a59"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1a4f1383815ef2fb104219b8e7ce5a59">◆ </a></span>getCostExtractor()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="../../dc/d84/group__core__basic.html#ga6395ca871a678020c4a31fadf7e8cc63">Ptr</a>&lt;<a class="el" href="../../df/d9a/classcv_1_1HistogramCostExtractor.html">HistogramCostExtractor</a>&gt; cv::ShapeContextDistanceExtractor::getCostExtractor </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>retval</td><td>=</td><td>cv.ShapeContextDistanceExtractor.getCostExtractor(</td><td class="paramname"></td><td>)</td></tr></table>
</div><div class="memdoc">
</div>
</div>
<a id="a0b53897717df4a5bbf1c771db3570cc2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0b53897717df4a5bbf1c771db3570cc2">◆ </a></span>getImageAppearanceWeight()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual float cv::ShapeContextDistanceExtractor::getImageAppearanceWeight </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>retval</td><td>=</td><td>cv.ShapeContextDistanceExtractor.getImageAppearanceWeight(</td><td class="paramname"></td><td>)</td></tr></table>
</div><div class="memdoc">
</div>
</div>
<a id="a604802b751a0ea9f04dbb6c46f55481d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a604802b751a0ea9f04dbb6c46f55481d">◆ </a></span>getImages()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void cv::ShapeContextDistanceExtractor::getImages </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../dc/d84/group__core__basic.html#gaad17fda1d0f0d1ee069aebb1df2913c0">OutputArray</a> </td>
          <td class="paramname"><em>image1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="../../dc/d84/group__core__basic.html#gaad17fda1d0f0d1ee069aebb1df2913c0">OutputArray</a> </td>
          <td class="paramname"><em>image2</em> </td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>image1, image2</td><td>=</td><td>cv.ShapeContextDistanceExtractor.getImages(</td><td class="paramname">[, image1[, image2]]</td><td>)</td></tr></table>
</div><div class="memdoc">
</div>
</div>
<a id="a7457e5058381462b1097dae4ce95bd90"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7457e5058381462b1097dae4ce95bd90">◆ </a></span>getInnerRadius()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual float cv::ShapeContextDistanceExtractor::getInnerRadius </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>retval</td><td>=</td><td>cv.ShapeContextDistanceExtractor.getInnerRadius(</td><td class="paramname"></td><td>)</td></tr></table>
</div><div class="memdoc">
</div>
</div>
<a id="a919bc6fc762642c79dbc986f6232737c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a919bc6fc762642c79dbc986f6232737c">◆ </a></span>getIterations()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual int cv::ShapeContextDistanceExtractor::getIterations </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>retval</td><td>=</td><td>cv.ShapeContextDistanceExtractor.getIterations(</td><td class="paramname"></td><td>)</td></tr></table>
</div><div class="memdoc">
</div>
</div>
<a id="a93c84275daf08dd91218c51d5f31bdad"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a93c84275daf08dd91218c51d5f31bdad">◆ </a></span>getOuterRadius()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual float cv::ShapeContextDistanceExtractor::getOuterRadius </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>retval</td><td>=</td><td>cv.ShapeContextDistanceExtractor.getOuterRadius(</td><td class="paramname"></td><td>)</td></tr></table>
</div><div class="memdoc">
</div>
</div>
<a id="a31759a28f3cefba1693babf4a2faa81b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a31759a28f3cefba1693babf4a2faa81b">◆ </a></span>getRadialBins()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual int cv::ShapeContextDistanceExtractor::getRadialBins </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>retval</td><td>=</td><td>cv.ShapeContextDistanceExtractor.getRadialBins(</td><td class="paramname"></td><td>)</td></tr></table>
</div><div class="memdoc">
</div>
</div>
<a id="a9061cf4f352f79d934dfc12a03ae4fcb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9061cf4f352f79d934dfc12a03ae4fcb">◆ </a></span>getRotationInvariant()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool cv::ShapeContextDistanceExtractor::getRotationInvariant </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>retval</td><td>=</td><td>cv.ShapeContextDistanceExtractor.getRotationInvariant(</td><td class="paramname"></td><td>)</td></tr></table>
</div><div class="memdoc">
</div>
</div>
<a id="a6115ab5821dfc92847271970e1363eaf"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6115ab5821dfc92847271970e1363eaf">◆ </a></span>getShapeContextWeight()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual float cv::ShapeContextDistanceExtractor::getShapeContextWeight </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>retval</td><td>=</td><td>cv.ShapeContextDistanceExtractor.getShapeContextWeight(</td><td class="paramname"></td><td>)</td></tr></table>
</div><div class="memdoc">
</div>
</div>
<a id="a0eb22f5b183f3e65ae2f6ea41d8be27f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0eb22f5b183f3e65ae2f6ea41d8be27f">◆ </a></span>getStdDev()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual float cv::ShapeContextDistanceExtractor::getStdDev </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>retval</td><td>=</td><td>cv.ShapeContextDistanceExtractor.getStdDev(</td><td class="paramname"></td><td>)</td></tr></table>
</div><div class="memdoc">
</div>
</div>
<a id="acd7c1e20479823593e7bdfa70fb8cab0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acd7c1e20479823593e7bdfa70fb8cab0">◆ </a></span>getTransformAlgorithm()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="../../dc/d84/group__core__basic.html#ga6395ca871a678020c4a31fadf7e8cc63">Ptr</a>&lt;<a class="el" href="../../df/dfe/classcv_1_1ShapeTransformer.html">ShapeTransformer</a>&gt; cv::ShapeContextDistanceExtractor::getTransformAlgorithm </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>retval</td><td>=</td><td>cv.ShapeContextDistanceExtractor.getTransformAlgorithm(</td><td class="paramname"></td><td>)</td></tr></table>
</div><div class="memdoc">
</div>
</div>
<a id="aade984ec5eca56b0a7f5b8681d681c61"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aade984ec5eca56b0a7f5b8681d681c61">◆ </a></span>setAngularBins()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void cv::ShapeContextDistanceExtractor::setAngularBins </td>
          <td>(</td>
          <td class="paramtype">int </td>
          <td class="paramname"><em>nAngularBins</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>None</td><td>=</td><td>cv.ShapeContextDistanceExtractor.setAngularBins(</td><td class="paramname">nAngularBins</td><td>)</td></tr></table>
</div><div class="memdoc">
<p>Establish the number of angular bins for the Shape Context Descriptor used in the shape matching pipeline. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">nAngularBins</td><td>The number of angular bins in the shape context descriptor. </td></tr>
  </table>
  </dd>
</dl>
</div>
</div>
<a id="a576d05fc6eedd2353d5e03257d807808"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a576d05fc6eedd2353d5e03257d807808">◆ </a></span>setBendingEnergyWeight()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void cv::ShapeContextDistanceExtractor::setBendingEnergyWeight </td>
          <td>(</td>
          <td class="paramtype">float </td>
          <td class="paramname"><em>bendingEnergyWeight</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>None</td><td>=</td><td>cv.ShapeContextDistanceExtractor.setBendingEnergyWeight(</td><td class="paramname">bendingEnergyWeight</td><td>)</td></tr></table>
</div><div class="memdoc">
<p>Set the weight of the Bending Energy in the final value of the shape distance. The bending energy definition depends on what transformation is being used to align the shapes. The final value of the shape distance is a user-defined linear combination of the shape context distance, an image appearance distance, and a bending energy. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">bendingEnergyWeight</td><td>The weight of the Bending Energy in the final distance value. </td></tr>
  </table>
  </dd>
</dl>
</div>
</div>
<a id="a1d3a0258c206f4be2d3c518f1087f425"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1d3a0258c206f4be2d3c518f1087f425">◆ </a></span>setCostExtractor()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void cv::ShapeContextDistanceExtractor::setCostExtractor </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../dc/d84/group__core__basic.html#ga6395ca871a678020c4a31fadf7e8cc63">Ptr</a>&lt; <a class="el" href="../../df/d9a/classcv_1_1HistogramCostExtractor.html">HistogramCostExtractor</a> &gt; </td>
          <td class="paramname"><em>comparer</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>None</td><td>=</td><td>cv.ShapeContextDistanceExtractor.setCostExtractor(</td><td class="paramname">comparer</td><td>)</td></tr></table>
</div><div class="memdoc">
<p>Set the algorithm used for building the shape context descriptor cost matrix. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">comparer</td><td>Smart pointer to a <a class="el" href="../../df/d9a/classcv_1_1HistogramCostExtractor.html" title="Abstract base class for histogram cost algorithms. ">HistogramCostExtractor</a>, an algorithm that defines the cost matrix between descriptors. </td></tr>
  </table>
  </dd>
</dl>
</div>
</div>
<a id="a92798b785faa75fb7e41c2cee8ac19db"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a92798b785faa75fb7e41c2cee8ac19db">◆ </a></span>setImageAppearanceWeight()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void cv::ShapeContextDistanceExtractor::setImageAppearanceWeight </td>
          <td>(</td>
          <td class="paramtype">float </td>
          <td class="paramname"><em>imageAppearanceWeight</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>None</td><td>=</td><td>cv.ShapeContextDistanceExtractor.setImageAppearanceWeight(</td><td class="paramname">imageAppearanceWeight</td><td>)</td></tr></table>
</div><div class="memdoc">
<p>Set the weight of the Image Appearance cost in the final value of the shape distance. The image appearance cost is defined as the sum of squared brightness differences in Gaussian windows around corresponding image points. The final value of the shape distance is a user-defined linear combination of the shape context distance, an image appearance distance, and a bending energy. If this value is set to a number different from 0, is mandatory to set the images that correspond to each shape. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">imageAppearanceWeight</td><td>The weight of the appearance cost in the final distance value. </td></tr>
  </table>
  </dd>
</dl>
</div>
</div>
<a id="abf94ec647328dcdf648157933f6f32b1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abf94ec647328dcdf648157933f6f32b1">◆ </a></span>setImages()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void cv::ShapeContextDistanceExtractor::setImages </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../dc/d84/group__core__basic.html#ga353a9de602fe76c709e12074a6f362ba">InputArray</a> </td>
          <td class="paramname"><em>image1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="../../dc/d84/group__core__basic.html#ga353a9de602fe76c709e12074a6f362ba">InputArray</a> </td>
          <td class="paramname"><em>image2</em> </td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>None</td><td>=</td><td>cv.ShapeContextDistanceExtractor.setImages(</td><td class="paramname">image1, image2</td><td>)</td></tr></table>
</div><div class="memdoc">
<p>Set the images that correspond to each shape. This images are used in the calculation of the Image Appearance cost. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">image1</td><td>Image corresponding to the shape defined by contours1. </td></tr>
    <tr><td class="paramname">image2</td><td>Image corresponding to the shape defined by contours2. </td></tr>
  </table>
  </dd>
</dl>
</div>
</div>
<a id="a1b9f6425a00d927f87ba77fb14b240bd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1b9f6425a00d927f87ba77fb14b240bd">◆ </a></span>setInnerRadius()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void cv::ShapeContextDistanceExtractor::setInnerRadius </td>
          <td>(</td>
          <td class="paramtype">float </td>
          <td class="paramname"><em>innerRadius</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>None</td><td>=</td><td>cv.ShapeContextDistanceExtractor.setInnerRadius(</td><td class="paramname">innerRadius</td><td>)</td></tr></table>
</div><div class="memdoc">
<p>Set the inner radius of the shape context descriptor. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">innerRadius</td><td>The value of the inner radius. </td></tr>
  </table>
  </dd>
</dl>
</div>
</div>
<a id="ac90e93665a0d5d27a69dfef3f47b4255"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac90e93665a0d5d27a69dfef3f47b4255">◆ </a></span>setIterations()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void cv::ShapeContextDistanceExtractor::setIterations </td>
          <td>(</td>
          <td class="paramtype">int </td>
          <td class="paramname"><em>iterations</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>None</td><td>=</td><td>cv.ShapeContextDistanceExtractor.setIterations(</td><td class="paramname">iterations</td><td>)</td></tr></table>
</div><div class="memdoc">
</div>
</div>
<a id="abe0a9db459ed820ceb884cdb95712c12"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abe0a9db459ed820ceb884cdb95712c12">◆ </a></span>setOuterRadius()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void cv::ShapeContextDistanceExtractor::setOuterRadius </td>
          <td>(</td>
          <td class="paramtype">float </td>
          <td class="paramname"><em>outerRadius</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>None</td><td>=</td><td>cv.ShapeContextDistanceExtractor.setOuterRadius(</td><td class="paramname">outerRadius</td><td>)</td></tr></table>
</div><div class="memdoc">
<p>Set the outer radius of the shape context descriptor. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">outerRadius</td><td>The value of the outer radius. </td></tr>
  </table>
  </dd>
</dl>
</div>
</div>
<a id="a601bedc2ff38e281f6bcc34d7d59c0fa"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a601bedc2ff38e281f6bcc34d7d59c0fa">◆ </a></span>setRadialBins()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void cv::ShapeContextDistanceExtractor::setRadialBins </td>
          <td>(</td>
          <td class="paramtype">int </td>
          <td class="paramname"><em>nRadialBins</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>None</td><td>=</td><td>cv.ShapeContextDistanceExtractor.setRadialBins(</td><td class="paramname">nRadialBins</td><td>)</td></tr></table>
</div><div class="memdoc">
<p>Establish the number of radial bins for the Shape Context Descriptor used in the shape matching pipeline. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">nRadialBins</td><td>The number of radial bins in the shape context descriptor. </td></tr>
  </table>
  </dd>
</dl>
</div>
</div>
<a id="aac3054da68894dbbac9ed6801eb50d32"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aac3054da68894dbbac9ed6801eb50d32">◆ </a></span>setRotationInvariant()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void cv::ShapeContextDistanceExtractor::setRotationInvariant </td>
          <td>(</td>
          <td class="paramtype">bool </td>
          <td class="paramname"><em>rotationInvariant</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>None</td><td>=</td><td>cv.ShapeContextDistanceExtractor.setRotationInvariant(</td><td class="paramname">rotationInvariant</td><td>)</td></tr></table>
</div><div class="memdoc">
</div>
</div>
<a id="ac9ea3a1ce4a9e8767acef0a48a7cf8d6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac9ea3a1ce4a9e8767acef0a48a7cf8d6">◆ </a></span>setShapeContextWeight()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void cv::ShapeContextDistanceExtractor::setShapeContextWeight </td>
          <td>(</td>
          <td class="paramtype">float </td>
          <td class="paramname"><em>shapeContextWeight</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>None</td><td>=</td><td>cv.ShapeContextDistanceExtractor.setShapeContextWeight(</td><td class="paramname">shapeContextWeight</td><td>)</td></tr></table>
</div><div class="memdoc">
<p>Set the weight of the shape context distance in the final value of the shape distance. The shape context distance between two shapes is defined as the symmetric sum of shape context matching costs over best matching points. The final value of the shape distance is a user-defined linear combination of the shape context distance, an image appearance distance, and a bending energy. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">shapeContextWeight</td><td>The weight of the shape context distance in the final distance value. </td></tr>
  </table>
  </dd>
</dl>
</div>
</div>
<a id="a655e0cfadf3ca8e2acac038132841183"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a655e0cfadf3ca8e2acac038132841183">◆ </a></span>setStdDev()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void cv::ShapeContextDistanceExtractor::setStdDev </td>
          <td>(</td>
          <td class="paramtype">float </td>
          <td class="paramname"><em>sigma</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>None</td><td>=</td><td>cv.ShapeContextDistanceExtractor.setStdDev(</td><td class="paramname">sigma</td><td>)</td></tr></table>
</div><div class="memdoc">
<p>Set the value of the standard deviation for the Gaussian window for the image appearance cost. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">sigma</td><td>Standard Deviation. </td></tr>
  </table>
  </dd>
</dl>
</div>
</div>
<a id="a537e77faeb22ad21db4c3a45084019ef"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a537e77faeb22ad21db4c3a45084019ef">◆ </a></span>setTransformAlgorithm()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void cv::ShapeContextDistanceExtractor::setTransformAlgorithm </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../dc/d84/group__core__basic.html#ga6395ca871a678020c4a31fadf7e8cc63">Ptr</a>&lt; <a class="el" href="../../df/dfe/classcv_1_1ShapeTransformer.html">ShapeTransformer</a> &gt; </td>
          <td class="paramname"><em>transformer</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>None</td><td>=</td><td>cv.ShapeContextDistanceExtractor.setTransformAlgorithm(</td><td class="paramname">transformer</td><td>)</td></tr></table>
</div><div class="memdoc">
<p>Set the algorithm used for aligning the shapes. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">transformer</td><td>Smart pointer to a <a class="el" href="../../df/dfe/classcv_1_1ShapeTransformer.html" title="Abstract base class for shape transformation algorithms. ">ShapeTransformer</a>, an algorithm that defines the aligning transformation. </td></tr>
  </table>
  </dd>
</dl>
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>opencv2/shape/<a class="el" href="../../d4/d7c/shape__distance_8hpp.html">shape_distance.hpp</a></li>
</ul>
</div><!-- contents -->
<!-- HTML footer for doxygen 1.8.6-->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Fri Apr 2 2021 11:36:43 for OpenCV by  <a href="http://www.doxygen.org/index.html">
<img alt="doxygen" class="footer" src="../../doxygen.png"/>
</a> 1.8.13
</small></address>
<script type="text/javascript">
//<![CDATA[
addTutorialsButtons();
//]]>
</script>
</body>
</html>
